< Prev(J) / Next(K) > / View :

Filename: /text/sbasic/shared/03080802.xhp

(section: oct) (bookmark: bm_id3155420)
Oct function

Oct 関数

Oct Function [Runtime]
Oct 関数 [実行時](hd_id3155420.1)

Returns the octal value of a number.
与えられた数値を 8 進数にして返します。(par_id3154924.2)

(/section: oct)

Syntax:
構文:(hd_id3148947.3)

Oct (Number)
Oct (Number)(par_id3150543.4)

Return value:
戻り値:(hd_id3153360.5)

String
文字列(par_id3154138.6)

Parameters:
パラメータ:(hd_id3156422.7)

Number: Any numeric expression that you want to convert to an octal value.
Number: 8 進数にする数値を示す表式。(par_id3150768.8)

(embed text/sbasic/shared/00000003.xhp#errorcode : linkinfo)

Error Codes

エラーコード(hd_id3152869.37)

(/embed text/sbasic/shared/00000003.xhp#errorcode)

(embed text/sbasic/shared/00000003.xhp#err5 : linkinfo)

5 Invalid procedure call
5 無効なプロシージャー呼び出しです (par_id3150891.41)

(/embed text/sbasic/shared/00000003.xhp#err5)

Example:
例:(hd_id3148672.9)

Sub ExampleOkt
Sub ExampleOkt(par_id3147287.10)

Msgbox Oct(255)
Msgbox Oct(255)(par_id3161831.11)

end sub
end sub(par_id3147318.12)


< Prev / Next >